export const serverUrl = 'http://localhost:1337';

//设置token
export const setToken = (token) => sessionStorage.setItem("token", token);

//获取token
export const getToken = () => sessionStorage.getItem("token");

//判断是否登录
export const isLogined = () => (getToken() ? true : false);
